Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add tool to generate endpoints #307

Merged
merged 2 commits into from
May 13, 2022
Merged

feat: Add tool to generate endpoints #307

merged 2 commits into from
May 13, 2022

Conversation

jrconlin
Copy link
Member

this tool should be useful in generating test endpoints for GCM on stage.

@jrconlin jrconlin requested review from pjenvey and a team May 10, 2022 23:33
pjenvey
pjenvey previously approved these changes May 11, 2022
list((bytes.fromhex(args.uaid.replace('-', '')) +
bytes.fromhex(args.chid.replace('-', '')))))
ekey = fernet.encrypt(base).strip(b'=').decode('utf-8')
return f"{args.root}/v1/{ekey}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess v2 isn't needed for these? I can't recall when we use it vs v1.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really, since these would be 'data free' endpoints.

Actually, thank you for reminding me, there are a few fixes I need to apply.

@jrconlin jrconlin merged commit 2829fa4 into master May 13, 2022
@jrconlin jrconlin deleted the chore/gendpoint branch May 13, 2022 15:33
@jrconlin jrconlin mentioned this pull request Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants